package com.mybatis_demo.frame.session.config;

import com.mybatis_demo.frame.session.mapping.SqlMap;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

public class Configuration {
    private DataSource dataSource;
    private Map<String, SqlMap> sqlMaps = new HashMap<>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, SqlMap> getSqlMaps() {
        return sqlMaps;
    }

    public void setSqlMaps(Map<String, SqlMap> sqlMaps) {
        this.sqlMaps = sqlMaps;
    }
}
